#include <linux/init.h>
#include <linux/module.h>
#include <linux/platform_device.h>

int pdrv_probe(struct platform_device* pdev)
{
    printk("%s:%d\n", __func__, __LINE__);
    return 0;
}
int pdrv_remove(struct platform_device* pdev)
{
    printk("%s:%d\n", __func__, __LINE__);
    return 0;
}
struct platform_driver pdrv = {
    .probe = pdrv_probe,
    .remove = pdrv_remove,
    .driver = {
        .name = "hahahaha",
    },
};
module_platform_driver(pdrv);
MODULE_LICENSE("GPL");